/**============================================================================
 Confidential Information - Limited distribution to authorized persons only.
 This software is protected as an unpublished work under the U.S. Copyright
 Act of 1976.

 Copyright (c) 2011, BluePhoenix Solutions, Inc. All rights reserved.
 ----------------------------------------------------------------------------
 file......: MainNotepadButton.java
 Author....: Vyacheslav Kovalyov
 Created...: 22.10.11

 Description:

 ============================================================================*/
package ru.monyag.pred.swing.ui.mainWindow;

import ru.monyag.pred.swing.ui.buttons.MainWindowButton;
import ru.monyag.pred.swing.ui.notepad.NotepadMainWindow;

import static ru.monyag.pred.swing.util.PredSwingConstants.NOTEPAD_ICON;

/**
 * @author Vyacheslav Kovalyov
 * @version 1.0
 */
public class MainNotepadButton extends MainWindowButton {

    public MainNotepadButton() {
        super(NOTEPAD_ICON);
    }

    @Override
    public void onClick() {
        new NotepadMainWindow().setVisible(true);
    }
}
